package com.aaa.hospital.ManagementEnd.mapper;

import com.aaa.hospital.ManagementEnd.pojo.Docuser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface DocuserMapper {
    List<Docuser> queryAll();
    int update(Docuser docuser);
    int delete(int id);
    int insert(Docuser docuser);
    List<Docuser> select_did_Name(@Param("did") Integer did,@Param("name") String name);

    //lgq
    List<Docuser> selectAll();
}
